﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Peninsula.DataAccess.POCO
{
    /// <summary>
    /// 性别
    /// </summary>
    public enum Sex : byte
    {
        [Description("保密")]
        Unknow = 0,
        [Description("男")]
        Male = 1,
        [Description("女")]
        Female = 2
    }

    /// <summary>
    /// 角色
    /// </summary>
    public enum RoleEnum:byte
    {
        [Description("超级管理员")]
        SupreAdmin = 0,
        [Description("平台管理员")]
        Admin = 1,
        [Description("店面管理员")]
        StoreManger = 2,
        [Description("维修人员")]
        MaintenanceStaff = 3,
        [Description("户主")]
        Households = 4,
    }
    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderStatus : byte {

        [Description("已提交")]
        Submitted=0,
        [Description("已接单")]
        Received=1,
        [Description("已派遣")]
        Sent=2,
        [Description("在路上")]
        OnTheWay=3,
        [Description("户主在家")]
        HouseholdAtHome=4,
        [Description("户主外出")]
        HhouseholdToGoOut=5,
        [Description("维修完")]
        RepairFinished=6,
        [Description("已付款")]
        AlreadyPaid=7,
        [Description("已废弃")]
        Abandoned=8
    }
    public enum HDOrderStatus : byte {

        [Description("已提交")]
        Submitted = 0,
        [Description("已接单")]
        Received = 1,
        [Description("已派遣")]
        Sent = 2,
        [Description("在路上")]
        OnTheWay = 3,
        [Description("维修完")]
        RepairFinished = 6,
    }
    public enum StoreMOrderStatus : byte
    {

      
        [Description("已接单")]
        Received = 1,
        [Description("已派遣")]
        Sent = 2,
        [Description("在路上")]
        OnTheWay = 3,
        [Description("维修完")]
        RepairFinished = 6,


    }
    public enum MainSOrderStatus : byte
    {

        [Description("已派遣")]
        Sent = 2,
        [Description("在路上")]
        OnTheWay = 3,
        [Description("维修完")]
        RepairFinished = 6,
    }
    public enum ChangStatus : byte {
        [Description("在路上")]
        OnTheWay = 3,
        [Description("户主外出")]
        HhouseholdToGoOut = 5,
        [Description("维修完")]
        RepairFinished = 6,
    }

    public enum FisnhOrderStatus : byte {
        [Description("户主外出")]
        HhouseholdToGoOut = 5,
        [Description("已付款")]
        AlreadyPaid = 7,
    }
    public enum SiteFileType
    {
        [Description("维修图片")]
        MaintenanceImage = 0,
    }
}
